package com.ruoyi.system.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 地址查看对象 ybss_address
 * 
 * @author ruoyi
 * @date 2021-11-08
 */

public class YbssAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表id */
    private String ybssId;

    /** 省 */
    @Excel(name = "省")
    private String ybssProvince;

    /** 市 */
    @Excel(name = "市")
    private String ybssCity;

    /** 区县 */
    @Excel(name = "区县")
    private String ybssCounty;

    /** 街道 */
    @Excel(name = "街道")
    private String ybssStreet;

    /** 所属社区 */
    @Excel(name = "所属社区")
    private String belongingCommunity;

    /** 所属派出所 */
    @Excel(name = "所属派出所")
    private String policeStation;

    /** 警务室 */
    @Excel(name = "警务室")
    private String policeRoom;

    /** 省级代码 */
    @Excel(name = "省级代码")
    private String levelCode;

    /** 市级代码 */
    @Excel(name = "市级代码")
    private String municipalCode;

    /** 区级代码 */
    @Excel(name = "区级代码")
    private String districtCode;

    /** 街道代码 */
    @Excel(name = "街道代码")
    private String theCode;

    /** 社区代码 */
    @Excel(name = "社区代码")
    private String communityCode;

    /** 派出所代码 */
    @Excel(name = "派出所代码")
    private String stationCode;

    /** 警务室代码 */
    @Excel(name = "警务室代码")
    private String policeOfficeCode;

    /** 街路巷（村） */
    @Excel(name = "街路巷", readConverterExp = "村=")
    private String streetRoadLan;

    /** 门牌号 */
    @Excel(name = "门牌号")
    private String houseNumber;

    /** 小区 */
    @Excel(name = "小区")
    private String housingEstate;

    /** 子街路巷 */
    @Excel(name = "子街路巷")
    private String childStreet;

    /** 子门牌号 */
    @Excel(name = "子门牌号")
    private String sonHouseNumber;

    /** 子小区 */
    @Excel(name = "子小区")
    private String subDistrict;

    /** 三级街路巷 */
    @Excel(name = "三级街路巷")
    private String thirdRoadLane;

    /** 三级门牌号 */
    @Excel(name = "三级门牌号")
    private String gradeNumber;

    /** 三级小区 */
    @Excel(name = "三级小区")
    private String levelNeighborhood;

    /** 建筑物名称 */
    @Excel(name = "建筑物名称")
    private String nameofBuildings;

    /** 单元名称 */
    @Excel(name = "单元名称")
    private String nameofTheunit;

    /** 房间名称 */
    @Excel(name = "房间名称")
    private String nameofTheroom;

    /** 地址全称 */
    @Excel(name = "地址全称")
    private String completeAddress;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String imagePath;

    /** x */
    @Excel(name = "x")
    private String x;

    /** y */
    @Excel(name = "y")
    private String y;

    /** 添加人名称 */
    @Excel(name = "添加人名称")
    private String addPersonName;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addTime;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modificationTime;

    /** 修改人名称 */
    @Excel(name = "修改人名称")
    private String modifierName;

    /** 状态 */
    @Excel(name = "状态")
    private String ybssState;

    /** 户主名称 */
    @Excel(name = "户主名称")
    private String householdNames;

    /** 删除标记 */
    private String delFlag;
    private Integer id;
    private String label;
    private List<YbssAddress> children = new ArrayList<YbssAddress>();
    private List<String> asdid;

    public List<String> getAsdid() {
        return asdid;
    }

    public void setAsdid(List<String> asdid) {
        this.asdid = asdid;
    }


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List<YbssAddress> getChildren() {
        return children;
    }

    public void setChildren(List<YbssAddress> children) {
        this.children = children;
    }

    public void setYbssId(String ybssId)
    {
        this.ybssId = ybssId;
    }

    public String getYbssId() 
    {
        return ybssId;
    }
    public void setYbssProvince(String ybssProvince) 
    {
        this.ybssProvince = ybssProvince;
    }

    public String getYbssProvince() 
    {
        return ybssProvince;
    }
    public void setYbssCity(String ybssCity) 
    {
        this.ybssCity = ybssCity;
    }

    public String getYbssCity() 
    {
        return ybssCity;
    }
    public void setYbssCounty(String ybssCounty) 
    {
        this.ybssCounty = ybssCounty;
    }

    public String getYbssCounty() 
    {
        return ybssCounty;
    }
    public void setYbssStreet(String ybssStreet) 
    {
        this.ybssStreet = ybssStreet;
    }

    public String getYbssStreet() 
    {
        return ybssStreet;
    }
    public void setBelongingCommunity(String belongingCommunity) 
    {
        this.belongingCommunity = belongingCommunity;
    }

    public String getBelongingCommunity() 
    {
        return belongingCommunity;
    }
    public void setPoliceStation(String policeStation) 
    {
        this.policeStation = policeStation;
    }

    public String getPoliceStation() 
    {
        return policeStation;
    }
    public void setPoliceRoom(String policeRoom) 
    {
        this.policeRoom = policeRoom;
    }

    public String getPoliceRoom() 
    {
        return policeRoom;
    }
    public void setLevelCode(String levelCode) 
    {
        this.levelCode = levelCode;
    }

    public String getLevelCode() 
    {
        return levelCode;
    }
    public void setMunicipalCode(String municipalCode) 
    {
        this.municipalCode = municipalCode;
    }

    public String getMunicipalCode() 
    {
        return municipalCode;
    }
    public void setDistrictCode(String districtCode) 
    {
        this.districtCode = districtCode;
    }

    public String getDistrictCode() 
    {
        return districtCode;
    }
    public void setTheCode(String theCode) 
    {
        this.theCode = theCode;
    }

    public String getTheCode() 
    {
        return theCode;
    }
    public void setCommunityCode(String communityCode) 
    {
        this.communityCode = communityCode;
    }

    public String getCommunityCode() 
    {
        return communityCode;
    }
    public void setStationCode(String stationCode) 
    {
        this.stationCode = stationCode;
    }

    public String getStationCode() 
    {
        return stationCode;
    }
    public void setPoliceOfficeCode(String policeOfficeCode) 
    {
        this.policeOfficeCode = policeOfficeCode;
    }

    public String getPoliceOfficeCode() 
    {
        return policeOfficeCode;
    }
    public void setStreetRoadLan(String streetRoadLan) 
    {
        this.streetRoadLan = streetRoadLan;
    }

    public String getStreetRoadLan() 
    {
        return streetRoadLan;
    }
    public void setHouseNumber(String houseNumber) 
    {
        this.houseNumber = houseNumber;
    }

    public String getHouseNumber() 
    {
        return houseNumber;
    }
    public void setHousingEstate(String housingEstate) 
    {
        this.housingEstate = housingEstate;
    }

    public String getHousingEstate() 
    {
        return housingEstate;
    }
    public void setChildStreet(String childStreet) 
    {
        this.childStreet = childStreet;
    }

    public String getChildStreet() 
    {
        return childStreet;
    }
    public void setSonHouseNumber(String sonHouseNumber) 
    {
        this.sonHouseNumber = sonHouseNumber;
    }

    public String getSonHouseNumber() 
    {
        return sonHouseNumber;
    }
    public void setSubDistrict(String subDistrict) 
    {
        this.subDistrict = subDistrict;
    }

    public String getSubDistrict() 
    {
        return subDistrict;
    }
    public void setThirdRoadLane(String thirdRoadLane) 
    {
        this.thirdRoadLane = thirdRoadLane;
    }

    public String getThirdRoadLane() 
    {
        return thirdRoadLane;
    }
    public void setGradeNumber(String gradeNumber) 
    {
        this.gradeNumber = gradeNumber;
    }

    public String getGradeNumber() 
    {
        return gradeNumber;
    }
    public void setLevelNeighborhood(String levelNeighborhood) 
    {
        this.levelNeighborhood = levelNeighborhood;
    }

    public String getLevelNeighborhood() 
    {
        return levelNeighborhood;
    }
    public void setNameofBuildings(String nameofBuildings) 
    {
        this.nameofBuildings = nameofBuildings;
    }

    public String getNameofBuildings() 
    {
        return nameofBuildings;
    }
    public void setNameofTheunit(String nameofTheunit) 
    {
        this.nameofTheunit = nameofTheunit;
    }

    public String getNameofTheunit() 
    {
        return nameofTheunit;
    }
    public void setNameofTheroom(String nameofTheroom) 
    {
        this.nameofTheroom = nameofTheroom;
    }

    public String getNameofTheroom() 
    {
        return nameofTheroom;
    }
    public void setCompleteAddress(String completeAddress) 
    {
        this.completeAddress = completeAddress;
    }

    public String getCompleteAddress() 
    {
        return completeAddress;
    }
    public void setImagePath(String imagePath) 
    {
        this.imagePath = imagePath;
    }

    public String getImagePath() 
    {
        return imagePath;
    }
    public void setX(String x) 
    {
        this.x = x;
    }

    public String getX() 
    {
        return x;
    }
    public void setY(String y) 
    {
        this.y = y;
    }

    public String getY() 
    {
        return y;
    }
    public void setAddPersonName(String addPersonName) 
    {
        this.addPersonName = addPersonName;
    }

    public String getAddPersonName() 
    {
        return addPersonName;
    }
    public void setAddTime(Date addTime) 
    {
        this.addTime = addTime;
    }

    public Date getAddTime() 
    {
        return addTime;
    }
    public void setModificationTime(Date modificationTime) 
    {
        this.modificationTime = modificationTime;
    }

    public Date getModificationTime() 
    {
        return modificationTime;
    }
    public void setModifierName(String modifierName) 
    {
        this.modifierName = modifierName;
    }

    public String getModifierName() 
    {
        return modifierName;
    }
    public void setYbssState(String ybssState) 
    {
        this.ybssState = ybssState;
    }

    public String getYbssState() 
    {
        return ybssState;
    }
    public void setHouseholdNames(String householdNames) 
    {
        this.householdNames = householdNames;
    }

    public String getHouseholdNames() 
    {
        return householdNames;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ybssId", getYbssId())
            .append("ybssProvince", getYbssProvince())
            .append("ybssCity", getYbssCity())
            .append("ybssCounty", getYbssCounty())
            .append("ybssStreet", getYbssStreet())
            .append("belongingCommunity", getBelongingCommunity())
            .append("policeStation", getPoliceStation())
            .append("policeRoom", getPoliceRoom())
            .append("levelCode", getLevelCode())
            .append("municipalCode", getMunicipalCode())
            .append("districtCode", getDistrictCode())
            .append("theCode", getTheCode())
            .append("communityCode", getCommunityCode())
            .append("stationCode", getStationCode())
            .append("policeOfficeCode", getPoliceOfficeCode())
            .append("streetRoadLan", getStreetRoadLan())
            .append("houseNumber", getHouseNumber())
            .append("housingEstate", getHousingEstate())
            .append("childStreet", getChildStreet())
            .append("sonHouseNumber", getSonHouseNumber())
            .append("subDistrict", getSubDistrict())
            .append("thirdRoadLane", getThirdRoadLane())
            .append("gradeNumber", getGradeNumber())
            .append("levelNeighborhood", getLevelNeighborhood())
            .append("nameofBuildings", getNameofBuildings())
            .append("nameofTheunit", getNameofTheunit())
            .append("nameofTheroom", getNameofTheroom())
            .append("completeAddress", getCompleteAddress())
            .append("imagePath", getImagePath())
            .append("x", getX())
            .append("y", getY())
            .append("addPersonName", getAddPersonName())
            .append("addTime", getAddTime())
            .append("modificationTime", getModificationTime())
            .append("modifierName", getModifierName())
            .append("ybssState", getYbssState())
            .append("householdNames", getHouseholdNames())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
